比特币地址

undefined地址

https://en.bitcoin.it/wiki/Address

比特币有 checksum 机制, tcp/ip也有.

以太坊没有.

  • Legacy P2PKH which begin with the number 1, eg: 1BvBMSEYstWetqTFn5Au4m4GFg7xJaNVN2.
  • Older Segwit P2SH type starting with the number 3, eg: 3J98t1WpEZ73CNmQviecrnyiWrnqRhWNLy.
  • Newer Segwit Bech32 type starting with the string bc1, eg: bc1qw508d6qejxtdg4y5r3zarvary0c5xw7kv8f3t4. Bech32 creates smaller transactions than P2SH addresses, among other things. As of December 2017, sending to a Bech32 address is still unsupported by a large minority of wallets, and so it is recommended that, if you need anyone to be able to send to you, to for now create wallets with P2SH addresses.

Creating addresses can be done without an Internet connection and does not require any contact or registration with the Bitcoin network. It is possible to create large batches of addresses offline using freely available software tools.

Newer "HD wallets" can generate a "seed" token which can be used to allow untrusted systems (such as webservers) to generate an unlimited number of addresses without the ability to spend the bitcoins received.

What's in an address

Most Bitcoin addresses are 34 characters. They consist of random digits and uppercase and lowercase letters, with the exception that the uppercase letter "O", uppercase letter "I", lowercase letter "l", and the number "0" are never used to prevent visual ambiguity.

Some Bitcoin addresses can be shorter than 34 characters (as few as 26) and still be valid.

undefinedTechnical background of version 1 Bitcoin addresses

undefinedConversion from ECDSA public key to Bitcoin Address

比特币地址 - 图1

undefinedCollisions 碰撞